import i18n from '@/common/lang'

export const columnsFirst = [
  {
    label: '证书名称',
    width: 150,
    prop: 'certName',
    fixed: true
  },
  {
    label: '证书等级',
    width: 100,
    prop: 'certRank',
    fixed: true
  },
  {
    label: '证书专业类别',
    width: 150,
    prop: 'certCategory'
  },
  {
    label: '证书编号',
    width: 150,
    prop: 'certCode'
  },
  {
    label: '注册编号',
    width: 150,
    prop: 'registrationNo'
  },

  {
    label: '有效期至',
    width: 150,
    prop: 'expirationTime'
  },
  {
    label: '证书验真网址',
    width: 150,
    prop: 'website'
  },
  {
    label: '证书有效性',
    width: 'auto',
    prop: 'state'
  }
]
export const columnsSecond = [
  {
    label: '证书名称',
    width: 150,
    prop: 'website',
    fixed: true
  },
  {
    label: '作业类别',
    width: 100,
    prop: 'certCategory',
    fixed: true
  },
  {
    label: '操作项目',
    width: 150,
    prop: 'certItem'
  },
  {
    label: '证书编号',
    width: 150,
    prop: 'certCode'
  },
  {
    label: '有效期至',
    width: 150,
    prop: 'expirationTime'
  },
  {
    label: '应复审日期',
    width: 150,
    prop: 'recheckDate'
  },
  {
    label: '实际复审日期',
    width: 150,
    prop: 'realityRecheckDate'
  },
  {
    label: '证书验真网址',
    width: 150,
    prop: 'website'
  },
  {
    label: '证书有效性',
    width: 'auto',
    prop: 'state'
  }
]
export const columnsTitle = [
  {
    label: '职称名称',
    width: 150,
    prop: 'name',
    fixed: true
  },
  {
    label: '职称分类',
    width: 100,
    prop: 'category',
    fixed: true
  },
  {
    label: '职称级别',
    width: 150,
    prop: 'rank'
  },
  {
    label: '职称扫描件',
    width: 'auto',
    prop: 'scanName'
  }
]
export const actions = [
  {
    key: 'edit',
    text: i18n.t('common.edit')
  },
  {
    key: 'delete',
    text: i18n.t('common.delete')
  }
]
